<!DOCTYPE html>
<html lang="en">
  <head>
    <title>NextLevelClip Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Class/NextLevelClip" class="dashAnchor"></a>
    <a title="NextLevelClip Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">NextLevel Docs</a> (62% documented)</p>
        <p class="header-right"><a href="https://github.com/NextLevel/NextLevel"><img src="../img/gh.png"/>View on GitHub</a></p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">NextLevel Reference</a>
        <img id="carat" src="../img/carat.png" />
        NextLevelClip Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/NextLevel.html">NextLevel</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelARConfiguration.html">NextLevelARConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelAudioConfiguration.html">NextLevelAudioConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelBufferRenderer.html">NextLevelBufferRenderer</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelClip.html">NextLevelClip</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelConfiguration.html">NextLevelConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelConfiguration/AspectRatio.html">– AspectRatio</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelGIFCreator.html">NextLevelGIFCreator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelPhotoConfiguration.html">NextLevelPhotoConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelSession.html">NextLevelSession</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/NextLevelVideoConfiguration.html">NextLevelVideoConfiguration</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Global Variables.html">Global Variables</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB15ClipFilenameKeySSvp">NextLevelClipFilenameKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB15ClipInfoDictKeySSvp">NextLevelClipInfoDictKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB11ErrorDomainSSvp">NextLevelErrorDomain</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB19PhotoCroppedJPEGKeySSvp">NextLevelPhotoCroppedJPEGKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB12PhotoJPEGKeySSvp">NextLevelPhotoJPEGKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB16PhotoMetadataKeySSvp">NextLevelPhotoMetadataKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB16PhotoRawImageKeySSvp">NextLevelPhotoRawImageKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Global Variables.html#/s:9NextLevel0aB17PhotoThumbnailKeySSvp">NextLevelPhotoThumbnailKey</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/NextLevelAuthorizationStatus.html">NextLevelAuthorizationStatus</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/NextLevelCaptureMode.html">NextLevelCaptureMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/NextLevelDeviceType.html">NextLevelDeviceType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/NextLevelError.html">NextLevelError</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/NextLevelMirroringMode.html">NextLevelMirroringMode</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureConnection.html">AVCaptureConnection</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureDevice.html">AVCaptureDevice</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureDevice/Format.html">– Format</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureDevice/Position.html">– Position</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureDevice/WhiteBalanceGains.html">– WhiteBalanceGains</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureDeviceInput.html">AVCaptureDeviceInput</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/AVCaptureVideoOrientation.html">AVCaptureVideoOrientation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/CIContext.html">CIContext</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/CMSampleBuffer.html">CMSampleBuffer</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/Comparable.html">Comparable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/Data.html">Data</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/Date.html">Date</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/FileManager.html">FileManager</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UIImage.html">UIImage</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelDelegate.html">NextLevelDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols.html#/NextLevelDepthDataDelegate">NextLevelDepthDataDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelDeviceDelegate.html">NextLevelDeviceDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelFlashAndTorchDelegate.html">NextLevelFlashAndTorchDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelMetadataOutputObjectsDelegate.html">NextLevelMetadataOutputObjectsDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelPhotoDelegate.html">NextLevelPhotoDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelPortraitEffectsMatteDelegate.html">NextLevelPortraitEffectsMatteDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelPreviewDelegate.html">NextLevelPreviewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/NextLevelVideoDelegate.html">NextLevelVideoDelegate</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB17DeviceOrientationa">NextLevelDeviceOrientation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB14DevicePositiona">NextLevelDevicePosition</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB12ExposureModea">NextLevelExposureMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB9FlashModea">NextLevelFlashMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB9FocusModea">NextLevelFocusMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB9TorchModea">NextLevelTorchMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB22VideoStabilizationModea">NextLevelVideoStabilizationMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:9NextLevel0aB16WhiteBalanceModea">NextLevelWhiteBalanceMode</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>NextLevelClip</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">NextLevelClip</span></code></pre>

                </div>
              </div>
            <p>NextLevelClip, an object for managing a single media clip</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC4uuid10Foundation4UUIDVvp"></a>
                    <a name="//apple_ref/swift/Property/uuid" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC4uuid10Foundation4UUIDVvp">uuid</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Unique identifier for a clip</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">uuid</span><span class="p">:</span> <span class="kt">UUID</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC3url10Foundation3URLVSgvp"></a>
                    <a name="//apple_ref/swift/Property/url" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC3url10Foundation3URLVSgvp">url</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>URL of the clip</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">url</span><span class="p">:</span> <span class="kt">URL</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC10fileExistsSbvp"></a>
                    <a name="//apple_ref/swift/Property/fileExists" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC10fileExistsSbvp">fileExists</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>True, if the clip&rsquo;s file exists</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">fileExists</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC5assetSo7AVAssetCSgvp"></a>
                    <a name="//apple_ref/swift/Property/asset" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC5assetSo7AVAssetCSgvp">asset</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p><code>AVAsset</code> of the clip</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">asset</span><span class="p">:</span> <span class="kt">AVAsset</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC8durationSo6CMTimeavp"></a>
                    <a name="//apple_ref/swift/Property/duration" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC8durationSo6CMTimeavp">duration</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Duration of the clip, otherwise invalid.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">duration</span><span class="p">:</span> <span class="kt">CMTime</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC14isMutedOnMergeSbvp"></a>
                    <a name="//apple_ref/swift/Property/isMutedOnMerge" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC14isMutedOnMergeSbvp">isMutedOnMerge</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Set to true if the clip&rsquo;s audio should be muted in the merged file</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">isMutedOnMerge</span><span class="p">:</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC14thumbnailImageSo7UIImageCSgvp"></a>
                    <a name="//apple_ref/swift/Property/thumbnailImage" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC14thumbnailImageSo7UIImageCSgvp">thumbnailImage</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>If it doesn&rsquo;t already exist, generates a thumbnail image of the clip.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">thumbnailImage</span><span class="p">:</span> <span class="kt">UIImage</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC14lastFrameImageSo7UIImageCSgvp"></a>
                    <a name="//apple_ref/swift/Property/lastFrameImage" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC14lastFrameImageSo7UIImageCSgvp">lastFrameImage</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>If it doesn&rsquo;t already exist, generates an image for the last frame of the clip.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">lastFrameImage</span><span class="p">:</span> <span class="kt">UIImage</span><span class="p">?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC9frameRateSfvp"></a>
                    <a name="//apple_ref/swift/Property/frameRate" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC9frameRateSfvp">frameRate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Frame rate at which the asset was recorded.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">frameRate</span><span class="p">:</span> <span class="kt">Float</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC8infoDictSDySSypGSgvp"></a>
                    <a name="//apple_ref/swift/Property/infoDict" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC8infoDictSDySSypGSgvp">infoDict</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Dictionary containing metadata about the clip.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">infoDict</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC18representationDictSDySSypGSgvp"></a>
                    <a name="//apple_ref/swift/Property/representationDict" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC18representationDictSDySSypGSgvp">representationDict</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Dictionary containing data for re-initialization of the clip.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">representationDict</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]?</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/class%20functions"></a>
                <a name="//apple_ref/swift/Section/class functions" class="dashAnchor"></a>
                <a href="#/class%20functions">
                  <h3 class="section-name">class functions</h3>
                </a>
              </div>
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC7clipURL12withFilename13directoryPath10Foundation0E0VSgSS_SStFZ"></a>
                    <a name="//apple_ref/swift/Method/clipURL(withFilename:directoryPath:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC7clipURL12withFilename13directoryPath10Foundation0E0VSgSS_SStFZ">clipURL(withFilename:directoryPath:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Class method initializer for a clip URL</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">clipURL</span><span class="p">(</span><span class="n">withFilename</span> <span class="nv">filename</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">directoryPath</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">URL</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>filename</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Filename for the media asset</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>directoryPath</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Directory path for the media asset</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Returns a URL for the designated clip, otherwise nil</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC4clip7withUrl8infoDictAC10Foundation3URLVSg_SDySSypGSgtFZ"></a>
                    <a name="//apple_ref/swift/Method/clip(withUrl:infoDict:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC4clip7withUrl8infoDictAC10Foundation3URLVSg_SDySSypGSgtFZ">clip(withUrl:infoDict:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Class method initializer for a NextLevelClip</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kd">func</span> <span class="nf">clip</span><span class="p">(</span><span class="n">withUrl</span> <span class="nv">url</span><span class="p">:</span> <span class="kt">URL</span><span class="p">?,</span> <span class="nv">infoDict</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]?)</span> <span class="o">-&gt;</span> <span class="kt">NextLevelClip</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>url</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>URL of the media asset</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>infoDict</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Dictionary containing metadata about the clip</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Returns a NextLevelClip</p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/object%20lifecycle"></a>
                <a name="//apple_ref/swift/Section/object lifecycle" class="dashAnchor"></a>
                <a href="#/object%20lifecycle">
                  <h3 class="section-name">object lifecycle</h3>
                </a>
              </div>
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC3url8infoDictAC10Foundation3URLVSg_SDySSypGSgtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(url:infoDict:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC3url8infoDictAC10Foundation3URLVSg_SDySSypGSgtcfc">init(url:infoDict:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Initialize a clip from a URL and dictionary.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">convenience</span> <span class="nf">init</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="kt">URL</span><span class="p">?,</span> <span class="nv">infoDict</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]?)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>url</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>URL and filename of the specified media asset</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>infoDict</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Dictionary with NextLevelClip metadata information</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC13directoryPath18representationDictACSS_SDySSypGSgtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(directoryPath:representationDict:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC13directoryPath18representationDictACSS_SDySSypGSgtcfc">init(directoryPath:representationDict:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Initialize a clip from a dictionary representation and directory name</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">convenience</span> <span class="nf">init</span><span class="p">(</span><span class="nv">directoryPath</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">representationDict</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span> <span class="p">:</span> <span class="kt">Any</span><span class="p">]?)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>directoryPath</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Directory where the media asset is located</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>representationDict</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Dictionary containing defining metadata about the clip</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
            <div class="task-group">
              <div class="task-name-container">
                <a name="/functions"></a>
                <a name="//apple_ref/swift/Section/functions" class="dashAnchor"></a>
                <a href="#/functions">
                  <h3 class="section-name">functions</h3>
                </a>
              </div>
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9NextLevel0aB4ClipC10removeFileyyF"></a>
                    <a name="//apple_ref/swift/Method/removeFile()" class="dashAnchor"></a>
                    <a class="token" href="#/s:9NextLevel0aB4ClipC10removeFileyyF">removeFile()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Removes the associated file representation on disk.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">removeFile</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2019 <a class="link" href="http://nextlevel.engineering" target="_blank" rel="external">Patrick Piemonte</a>. All rights reserved. (Last updated: 2019-05-21)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.6</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
